Alif Semiconductor /AE512F80F5582AS_CM55_HE_View /USB /DCFG

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as DCFG

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (Val_0x0)DEVSPD 0DEVADDR0INTRNUM0NUMP0 (Val_0x0)LPMCAP 0 (IGNSTRMPP)IGNSTRMPP

LPMCAP=Val_0x0, DEVSPD=Val_0x0

Description

Device Configuration Register

Fields

DEVSPD

Device Speed. Indicates the speed at which the application requires the controller to connect, or the maximum speed the application can support. However, the actual bus speed is determined only after the chirp sequence is completed, and is based on the speed of the USB host to which the controller is connected.

0 (Val_0x0): High-speed (USB 2.0 PHY clock is 30 MHz or 60 MHz)

1 (Val_0x1): Full-speed (USB 2.0 PHY clock is 30 MHz or 60 MHz)

4 (Val_0x4): SuperSpeed (USB 3.0 PHY clock is 125 MHz or 250 MHz)

DEVADDR

Device Address. The application must perform the following:

  • Program this field after every SetAddress request.
  • Reset this field to zero after USB reset.
INTRNUM

Interrupt number Indicates interrupt/EventQ number on which non-endpoint-specific device-related interrupts (see Section Event Buffer Content for Device-Specific Events (DEVT)) are generated.

NUMP

Number of Receive Buffers. This bit field indicates the number of receive buffers to be reported in the ACK TP. For an OUT endpoint, this bit field controls the number of receive buffers reported in the NUMP bit field of the ACK TP transmitted by the controller. Note: This bit is used in host mode when Debug Capability is enabled.

LPMCAP

LPM Capable. The application uses this bit to control the LPM capabilities of the controller. If the controller operates as a non-LPM-capable device, it cannot respond to LPM transactions.

0 (Val_0x0): LPM capability is not enabled.

1 (Val_0x1): LPM capability is enabled.

IGNSTRMPP

Ignore Stream PP. This bit only affects stream-capable bulk endpoints. When this bit is set to 0x0 and the controller receives a Data Packet with the Packet Pending (PP) bit set to 0x0 for OUT endpoints, or it receives an ACK with the NUMP bit field set to 0x0 and PP set to 0x0 for IN endpoints, the controller attempts to search for another stream (CStream) to initiate to the host. However, there are two situations where this behavior is not optimal: When the host is setting PP = 0 even though it has not finished the stream, or when the endpoint on the device is configured with one transfer resource and therefore does not have any other streams to initiate to the host.

Links

() ()